package o;

import android.content.Context;
import com.huawei.hms.support.hianalytics.HiAnalyticsConstant;
import com.huawei.hms.support.hianalytics.HiAnalyticsConstant.KeyAndValue;
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import o.dge.d;
import o.dky.j;

public class dkn implements Serializable {
    private static final String ॱ = dkn.class.getSimpleName();
    private String ʼ;
    private String ˊ = "";
    private String ˋ;
    private String ˎ = KeyAndValue.NUMBER_01;
    private String ˏ;
    private String ॱॱ;

    public dkn(String str, String str2, String str3, String str4) {
        this.ˋ = str;
        try {
            this.ˊ = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.getDefault()).format(new Date());
        } catch (NumberFormatException e) {
            Logger.e(ॱ, " NotifyHianyticArgs(String notifyId_,String notifyType_,String notifyTitle_) " + e.toString());
        }
        this.ˏ = str2;
        this.ʼ = str3;
        this.ॱॱ = str4;
    }

    public void onEventNotifyClick(Context context) {
        dgh.onEvent(new d(context, j.ʽ).ˏ(ˊ()).ˋ());
    }

    public void onEventNotifyShow(Context context) {
        dgh.onEvent(new d(context, j.ᐝ).ˏ(ˊ()).ˋ());
    }

    private String ˊ() {
        return this.ˎ + HiAnalyticsConstant.REPORT_VAL_SEPARATOR + this.ˋ + HiAnalyticsConstant.REPORT_VAL_SEPARATOR + this.ˊ + HiAnalyticsConstant.REPORT_VAL_SEPARATOR + this.ˏ + HiAnalyticsConstant.REPORT_VAL_SEPARATOR + this.ʼ + HiAnalyticsConstant.REPORT_VAL_SEPARATOR + this.ॱॱ;
    }
}
